package com.edu.lawyermanager.dongao.service;

import com.edu.lawyermanager.dongao.entity.Lawyer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 律师档案业务接口
 * @author 李旺
 * @version 1.0
 */

public interface LawyerService {
    /**
     * 添加律师(创建律师档案)
     * @param lawyer 包含律师信息的对象
     * @return  创建成功返回1 失败返回0
     */
    public int addLawyer(Lawyer lawyer);

    /**
     * 查询所有的律师
     * @return 所有律师
     */
    public List<Lawyer> findLawyer();

    public int removeLawyer(int lawyerid);
}